package org.shs.waste.form;

import org.apache.struts.action.ActionForm;

/**
 * Captures all screen parameters for the waste type listing screen
 * <br/>
 * <br/><b>Created:</b>&nbsp;&nbsp; 19-Nov-2008 23:55:51
 *
 * @author anirvan
 *
 */
@SuppressWarnings("serial")
public class WasteTypeForm extends ActionForm
{
   // The waste type description search string
   private String wasteTypeSrch = null;
   
   // The ID of waste type to view details
   private String wasteTypeId = null;
   
   // The waste type's description
   private String wasteTypeDesc = null;
   
   // The aggregate waste type ID
   private String aggrWasteTypeId = null;
   
   // The flag indicating the saleability of the waste type
   private String isSaleable = null;
   
   // The common sources for the waste type
   private String commSrcs = null;
   
   // The comments for the waste type
   private String comments = null;
   
   // The average market rate
   private String avgMrktRate = null;
   
   // The original market rate for a waste type. 
   // To be referred in case of edit operation.
   private String origMrktRate = null;
   
   // The user ID of the current logged in user
   private String userId = null;
   
   // The IDs of all the selected waste types
   private String[] chkWasteTypeId = null;

   /**
    * Returns the 
    * @return the 
    */
   public String getWasteTypeSrch()
   {
      return wasteTypeSrch;
   }

   /**
    * Sets the 
    * @param the 
    */
   public void setWasteTypeSrch(String wasteTypeSrch)
   {
      this.wasteTypeSrch = wasteTypeSrch;
   }

   /**
    * Returns the 
    * @return the 
    */
   public String getWasteTypeId()
   {
      return wasteTypeId;
   }

   /**
    * Sets the 
    * @param the 
    */
   public void setWasteTypeId(String wasteTypeId)
   {
      this.wasteTypeId = wasteTypeId;
   }

   /**
    * Returns the 
    * @return the 
    */
   public String getWasteTypeDesc()
   {
      return wasteTypeDesc;
   }

   /**
    * Sets the 
    * @param the 
    */
   public void setWasteTypeDesc(String wasteTypeDesc)
   {
      this.wasteTypeDesc = wasteTypeDesc;
   }

   /**
    * Returns the 
    * @return the 
    */
   public String getAggrWasteTypeId()
   {
      return aggrWasteTypeId;
   }

   /**
    * Sets the 
    * @param the 
    */
   public void setAggrWasteTypeId(String aggrWasteTypeId)
   {
      this.aggrWasteTypeId = aggrWasteTypeId;
   }

   /**
    * Returns the 
    * @return the 
    */
   public String getIsSaleable()
   {
      return isSaleable;
   }

   /**
    * Sets the 
    * @param the 
    */
   public void setIsSaleable(String isSaleable)
   {
      this.isSaleable = isSaleable;
   }

   /**
    * Returns the 
    * @return the 
    */
   public String getCommSrcs()
   {
      return commSrcs;
   }

   /**
    * Sets the 
    * @param the 
    */
   public void setCommSrcs(String commSrcs)
   {
      this.commSrcs = commSrcs;
   }

   /**
    * Returns the 
    * @return the 
    */
   public String getComments()
   {
      return comments;
   }

   /**
    * Sets the 
    * @param the 
    */
   public void setComments(String comments)
   {
      this.comments = comments;
   }

   /**
    * Returns the 
    * @return the 
    */
   public String getAvgMrktRate()
   {
      return avgMrktRate;
   }

   /**
    * Sets the 
    * @param the 
    */
   public void setAvgMrktRate(String avgMrktRate)
   {
      this.avgMrktRate = avgMrktRate;
   }

   /**
    * Returns the 
    * @return the 
    */
   public String getUserId()
   {
      return userId;
   }

   /**
    * Sets the 
    * @param the 
    */
   public void setUserId(String userId)
   {
      this.userId = userId;
   }

   /**
    * Returns the 
    * @return the 
    */
   public String getOrigMrktRate()
   {
      return origMrktRate;
   }

   /**
    * Sets the 
    * @param the 
    */
   public void setOrigMrktRate(String origMrktRate)
   {
      this.origMrktRate = origMrktRate;
   }

   /**
    * Returns the 
    * @return the 
    */
   public String[] getChkWasteTypeId()
   {
      return chkWasteTypeId;
   }

   /**
    * Sets the 
    * @param the 
    */
   public void setChkWasteTypeId(String[] chkWasteTypeId)
   {
      this.chkWasteTypeId = chkWasteTypeId;
   }
}
